package com.xm.share.service;

import com.xm.share.common.utils.MessageModel;
import com.xm.share.model.UserInfo;
import com.xm.share.model.vo.SystemReportDto;
import com.xm.share.model.vo.UserInfoDto;

import java.util.List;

public interface UserService {

    UserInfo findByName(String userName) throws Exception;

    MessageModel register(UserInfo userInfo) throws Exception;

    SystemReportDto getSystemReport() throws Exception;

    void updateUserInfo(UserInfo userInfo) throws Exception;

    UserInfo findById(Long userId) throws Exception;

    List<UserInfoDto> getUserinfoDtoList(int pageNo, int pageSize) throws Exception;

    UserInfoDto getUserStatData(Long userId) throws Exception;

    void deleteUser(Long userId) throws Exception;

    void modifyUserInfo(UserInfo userInfo) throws Exception;
}
